package com.youth.api;

import com.youth.entity.vo.AreaVO;
import com.youth.result.ResultBean;
import com.youth.service.vo.IAreaVOService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

/**
 * @ClassName AreaApi
 * @Description: TODO
 * @Author yjwu
 * @Date 2019/10/21 21:53
 **/
@RestController(value = "areaVOApi")
@Api(value = "地区，控制层")
@Slf4j
public class AreaVOApi implements IAreaVOService {

    @Override
    @RequestMapping(value = "/add", method = RequestMethod.POST)
    @ApiOperation(value = "地区添加接口", notes = "卖家模块使用")
    public ResultBean add(@RequestBody AreaVO areaVO) {
        return null;
    }

    @Override
    @RequestMapping(value = "/deleteById", method = RequestMethod.POST)
    @ApiOperation(value = "地区删除接口", notes = "卖家模块使用")
    public ResultBean deleteById(@RequestParam("id") String id) {
        return null;
    }

    @Override
    @RequestMapping(value = "/updateById", method = RequestMethod.POST)
    @ApiOperation(value = "地区修改接口", notes = "卖家模块使用")
    public ResultBean updateById(@RequestBody AreaVO areaVO) {
        return null;
    }

    @Override
    @RequestMapping(value = "/findById", method = RequestMethod.POST)
    @ApiOperation(value = "地区查询接口", notes = "卖家模块使用")
    public ResultBean findById(@RequestParam("id") String id) {
        return null;
    }

    @Override
    @RequestMapping(value = "/findAll", method = RequestMethod.POST)
    @ApiOperation(value = "地区查询接口", notes = "卖家模块使用")
    public ResultBean findAll(@RequestParam("status") Integer status) {
        return null;
    }
}
